package jianzhi

import (
	"strings"
)

func ReplaceSpace(s string) string {

	str_list := strings.Split(s, "")

	for i, v := range str_list {
		if v == " " {
			str_list[i] = "%20"
		}
	}
	res := strings.Join(str_list, "")
	return res
}
